package com.tg.contract.dto;

/**
 * Created by linzc on 2019/2/1.
 */
public class RibbonMessage {

    private String id;

    private String name;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    @Override
    public String toString() {
        final StringBuilder sb = new StringBuilder("{");
        sb.append("\"id\":\"").append(id).append('\"');
        sb.append(", \"name\":\"").append(name).append('\"');
        sb.append('}');
        return sb.toString();
    }
}
